/**
 * className：PublicConifg.java <br>
 *
 * @version：1.0 <br>
 * date: 2014-11-5-上午10:15:20     <br>
 * Copyright (c)  2014中益智正公司-版权所有   <br>
 */
package com.artisan.common.config;


import com.artisan.common.utils.ResourceUtils;

import java.util.Map;


/**
 * className：PublicConifg <br>
 * Function： 环境配置基础类 <br>
 * date: 2016-11-21-上午10:15:20<br>
 *
 * @author chenpengjiang
 */
public class WxPublicConfig {

    /**
     * 系统文件配置 加载。
     */
    public static Map<String, String> PUBLIC_SYSTEM = ResourceUtils.getResource("public_system").getMap();

    public static String APPSECRET =PUBLIC_SYSTEM.get("APPSECRET");

    public static String GRANT_TYPE = PUBLIC_SYSTEM.get("GRANT_TYPE");

    public final static String APP_ID = PUBLIC_SYSTEM.get("APP_ID");

    public final static String MACH_ID = PUBLIC_SYSTEM.get("MACH_ID");

    public final static String DEVICE_INFO = PUBLIC_SYSTEM.get("DEVICE_INFO");

    public final static String TRADE_TYPE = PUBLIC_SYSTEM.get("TRADE_TYPE");

    public final static String FEE_TYPE = PUBLIC_SYSTEM.get("FEE_TYPE");

    public final static String BODY = PUBLIC_SYSTEM.get("BODY");

    public final static String NOTIFY_URL = PUBLIC_SYSTEM.get("NOTIFY_URL");

    public final static String KEY = PUBLIC_SYSTEM.get("KEY");

    public static  void  main(String []args){
        System.out.println(WxPublicConfig.APP_ID);
    }
}
